﻿<!--@Knockout-->
<div style="text-align:center; height:410px; max-width:630px; margin: 0 auto">
    <div style="height:380px" data-bind="dxDataGrid: {
        dataSource: books,
        columns: columns,
        paging: { pageSize: 8 },
        pager: {
            allowedPageSizes: [5, 8, 10],
            showPageSizeSelector: true,
            visible: checkBoxState
        }
    }"></div>
    <div data-bind="dxCheckBox: {
        text: 'Show Pager',
        value: checkBoxState
    }"></div>
</div>
<!--/@Knockout-->
<!--@AngularJS-->
<div ng-controller="demoController" style="text-align:center; height:410px; max-width:630px; margin: 0 auto">
    <div style="height:380px" dx-data-grid="{
        dataSource: books,
        columns: columns,
        paging: { pageSize: 8 },
        pager: {
            allowedPageSizes: [5, 8, 10],
            showPageSizeSelector: true
        },
        bindingOptions: {
            'pager.visible': 'checkBoxState'
        }
    }"></div>
    <div ng-model="checkBoxState" dx-check-box="{
        text: 'Show Pager'
    }"></div>
</div>
<!--/@AngularJS-->
<!--@jQuery-->
<div style="text-align:center; height:410px; max-width:630px; margin: 0 auto">
    <div id="gridContainer" style="height:380px;"></div>
    <div id="showPagerCheckbox"></div>
</div>
<!--/@jQuery-->